-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configure, configure Makevars.in -> Makevars #165
Conversation
I think some one else is missing, unable to cross-compile. Lemme check |
@eitsupi, hi, we are dealing with a cross-compilation issue. Could you please help us figure out cross-compilation from Max OS |
I don't know how to cross compile R packages. The only thing I know a little about is cross-compilation in Rust. I'm sure you can find a lot of information about it on the internet. |
Okay, so, if even polars is not cross-compile-aware, I guess there's no Rust-powered R package that does it correctly. In my understanding, extendr never aimed at cross-compiling for arm64 macOS, so it's no surprise that this doesn't work. Anyone would be welcomed to explore this frontier. But, IMHO, cross-compiling is a temporary solution until the arm64 macOS runner is generally available, so I'm not sure if it's really worth the effort. That being said, here's a good news (or bad news) that we might get a reason that forces us to think about cross-compiling seriously. |
What is possible with So if a cross-compilation method has been established for C, it would be possible to build the R package by cross-compiling Rust and C in this way, respectively. As I mentioned above, some packages such as dplyr are available on arm64 Linux and macOS on conda-forge, so it is not impossible to build R packages using Rust, I think? |
Yeah, I believe it's definitely possible and I bet it's just specifying |
As for Linux, I believe we can build the R package by cross-compiling the Rust library on the host machine and then running arm64 R on Docker with qemu. Since cargo-cross seems to support cross-compilation of packages other than Linux, it may be possible to cross-compile R packages in the same way, but I have not tried it. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Confirmed that specifying diff: https://github.com/yutannihilation/string2path/compare/912ae92..9576797 |
I get the same error locally:
If I replace
|
If you specify
|
84c3495
to
d931494
Compare
No description provided.